package com.pet.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pet.system.SysMenu;
import com.pet.vo.AssginMenuVo;
import com.pet.vo.RouterVo;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author whd
 * @since 2023-07-29
 */
public interface SysMenuService extends IService<SysMenu> {
    //加载菜单列表
    List<SysMenu> finNodes();
    //根据id去删除菜单
    void removeMenuById(Long id);

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> findUserMenuList(Long id);

    List<String> findUserpermsList(Long id);
}
